<script setup lang="ts">
import navbar from './navbarplus.vue';
import FooterPlus from './components/FooterPlus.vue';
</script>

<template>
    <div class="common-layout">
        <el-container>
            <el-header height="70px" class="head">
                <navbar></navbar>
            </el-header>
            <el-main class="main">
                <router-view></router-view>
            </el-main>
            <el-footer height="auto" class="footer">
                <FooterPlus />
            </el-footer>
        </el-container>
    </div>
</template>

<style lang="scss" scoped>
.head {
    padding: 0;
}

.main {
    height: 100%;
    min-height: calc(100vh - 120px);
    padding: 0;
}

.common-layout {
    overflow: auto;
    height: 100vh;
    width: 100%;
}

.footer {
    padding: 0;
}
</style>
  